home *** CD-ROM | disk | FTP | other *** search
/ Maclife 157 / MACLIFE157-2001-09.ISO.7z / MACLIFE157-2001-09.ISO / Linux / MacOS Tools / MacGzip / Mac Docs / Suffix Mapping < prev   
Text File  |  2001-07-23  |  8KB  |  138 lines

  1. ・ Why use suffix mapping?:
  2.  
  3. If you have read 'File Formats', you will know many files which don't come from a MacOS environment haven't the necessary 'Finder Info'; so they will appear in your desk as 'generic documents', and double clicking on them won't open any application. For some files, you can rebuild this 'Finder Info' from the suffix of the file name; so if you have a file named foo.jpg; you can assume it is a JFIF image file; and you can assign to it the type 'JPEG' and if you set also the 'creator' to 'JVWR' (the 'signature' of JPEGView), the Finder will use this information to provide a valid icon for it and launch JPEGView whe you double click on it.
  4.  
  5. You can do this manually (using ResEdit, FileTyper or other similar utility) or automatically (by defining a translation table - suffix <-> type/creator). For this purpose, you can use Fetch or Internet Config.
  6.  
  7. (Note MacGzip can use Fetch only when decompressing; if you want to set the mode automatically when compressing, you must use Internet Config)
  8.  
  9. ・ About Fetch Prefs:
  10.  
  11. By now you can use Fetch 2.1.2 preferences in order to asign Macintosh types depending on file suffixes. In the future this feature will can disappear; since it seems Fetch newer versions will use Internet Config.
  12.  
  13. If you want to use Fetch preferences with MacGzip, but you don't want to use Fetch, you can:
  14.  
  15. 1) Get Fetch and use it as an editor for the suffixes list.
  16. 2) Move the 'Fetch Prefs' from this folder to your Preferences folder and edit it with a resource editor like ResEdit.
  17. 3) Get Internet Config
  18.  
  19. ・ Internet Config
  20.  
  21. From "Internet Config 1.0 Press Release":
  22.  
  23. Internet Config: Solving Preference Proliferation
  24. -------------------------------------------------
  25. We all use many different programs to access the Internet and each of these
  26. programs has its own preference dialog, wherein you set things like your
  27. Email address, your FTP helper application and your preferred program to
  28. open ".jpg" files.  Keeping these preferences in synch in all your Internet
  29. applications is becoming increasingly difficult.  Worse yet, many simple
  30. applications do not even have a mechanism for setting these preferences and
  31. so you are stuck with the author's default preferences.
  32.  
  33. The Internet Configuration system is a solution to this problem.  Internet
  34. Config is an application that allows you to set these preferences once.
  35. Internet Config stores these preferences is a shared database and any "IC
  36. Aware" application will automatically get its preferences from this
  37. database.
  38.  
  39. ...
  40.  
  41. Where Do I Get Internet Config?
  42. -------------------------------
  43. Internet Config will run on all Macintosh Plus or newer machines that are
  44. running System 6 or greater.  Internet Config has been posted to MacGifts
  45. and should show up on Info-Mac and UMich (and their mirror sites) soon.  It
  46. is also available from any site that holds Peter Lewis' software, namely...
  47.  
  48.   ftp://redback.cs.uwa.edu.au//Others/PeterLewis/
  49.   ftp://ftp.nig.ac.jp/pub/mac/PeterLewis/
  50.   ftp://nic.switch.ch/software/mac/peterlewis/
  51.   ftp://amug.org/pub/peterlewis/
  52.   ftp://ftp.share.com/peterlewis/
  53.   ftp://cadadmin.cadlab.vt.edu/peterlewis/
  54.   ftp://ftp.acns.nwu.edu/pub/newswatcher/helpers/
  55.   ftp://ftp.tidbits.com/pub/tidbits/
  56.  
  57. ・ Notes
  58.  
  59. -If you want to use Fetch Prefs, check the 'Use Fetch Prefs' in MacGzip decompress preferences. MacGzip defaults are to use IC.
  60.  
  61. -MacGzip looks for a file named 'Fetch Prefs' in your Preferences folder, so you should use Fetch 2.1.2 or later. (earlier versions of Fetch use 'Fetch Preferences', just the same name of Aldus Fetch preferences (an image database))
  62.  
  63. -Fetch can find its preferences as well in the preferences folder as in the same folder where the application resides. If your 'Fetch Prefs' file is in your Fetch folder, you should move it to the Preferences folder in your system folder.
  64.  
  65. -MacGzip uses the Ostrich approach for Internet Config Prefs. This means that IC settings are read just at MacGzip startup, (or when you activate the option in the preferences dialog) if you change them after that, 'changes wont apply till nex time etc etc'
  66.  
  67. ・ Suffixes:
  68.  
  69. These are the suffixes I have set in the 'Fetch Prefs':
  70. (you should read this using Monaco 12)
  71.  
  72. Description             Suffix  Binary  HQX     Creator Type
  73.  
  74. PC Executable           .EXE    1       0       PCXT    PCFA
  75. PC COM Executable       .COM    1       0       PCXT    PCFA
  76. PC BAT File             .BAT    0       0       MPS     TEXT
  77. PC ASM File             .ASM    0       0       MPS     TEXT
  78. PC OBJ File             .OBJ    1       0       PCXT    PCFL
  79. PC OVL File             .OVL    1       0       PCXT    PCFL
  80. Lotus 1-2-3 Worksheets  .WKS    1       0       XCEL    XLBN
  81. Lotus 1-2-3 Worksheets  .WK1    1       0       XCEL    XLBN
  82. Raw Image File          .raw    1       0       8BIM    RAWI
  83. GIF Image File          .gif    1       0       8BIM    GIFf
  84. tiff Image File         .tiff   1       0       8BIM    TIFF
  85. tiff Image File         .tif    1       0       8BIM    TIFF
  86. iff Image File          .iff    1       0       8BIM    ILBM
  87. PICT2 Image File        .pict   1       0       8BIM    PICT
  88. Pixar Image File        .pxr    1       0       8BIM    PXR
  89. EPS Image File          .eps    1       0       8BIM    EPSF
  90. Targa Image File        .tga    1       0       Noah    TPIC
  91. PCX Image File          .PCX    1       0       PCXT    PCFL
  92. BMP Image File          .BMP    1       0       PCXT    PCFL
  93. JPEG-JFIF Image File    .jpg    1       0       8BIM    JPEG
  94. JPEG-JFIF Image File    .jpeg   1       0       8BIM    JPEG
  95. AutoCAD 3D data file    .dxf    0       0       SWVL    TEXT
  96. RenderMan 3D data       .rib    0       0       RINI    TEXT
  97. TeX Source              .tex    0       0       *TEX    TEXT
  98. TeX Style               .sty    0       0       *TEX    TEXT
  99. BibTeX Style Files      .bst    0       0       *TEX    TEXT
  100. BibTeX Bibliography     .bib    0       0       *TEX    TEXT
  101. Generic Ascii File      .txt    0       0       ttxt    TEXT
  102. C Source                .c      0       0       KAHL    TEXT
  103. C Header                .h      0       0       KAHL    TEXT
  104. Unix Tar Archive        .tar    1       0       TAR     TARF
  105. Unix GTar Archive       .tgz    1       0       Gzip    Gzip
  106. Unix Tar.Z Archive      .taz    1       0       Gzip    ZIVU
  107. Unix Compress File      .Z      1       0       Gzip    ZIVU
  108. Unix Gzip File          .gz     1       0       Gzip    Gzip
  109. Unix Old Gzip File      .z      1       0       Gzip    Gzip
  110. PC ZIP File             .ZIP    1       0       pZIP    pZIP
  111. PC ARC Archive          .ARC    1       0       arc@    ????
  112. LHA Archive             .lha    1       0       LHA     LARC
  113. AppleLink Archive       .pkg    1       0       HBSF    GEOL
  114. Compact Pro Archives    .cpt    1       0       CPCT    PACT
  115. CptPro AutoExtract      .sea    1       0       EXTR    APPL
  116. StuffIt! Archives       .sit    1       0       SIT!    SIT!
  117. MacBinary File          .bin    1       0       ????    ????
  118. BinHex File             .hqx    0       1       BnHq    TEXT
  119. StuffIt BinHex Archive  .sithqx 0       1       BnHq    TEXT
  120. Mac Resource File       .rsrc   1       0       RSED    rsrc
  121. Amiga Mod Sound         .mod    1       0       STrk    STrk
  122. Amiga Med Sound         .med    1       0       STrk    STrk
  123. Sun ULAW Sound          .au     1       0       SNDM    ULAW
  124. Mac AIFF Sound          .aiff   1       0       SNDM    AIFF
  125. Mac AIFF Sound          .aif    1       0       SNDM    AIFF
  126. IRCAM Sound             .sf     1       0       SDHK    IRCM
  127. MsWindows WAVE Sound    .wav    1       0       BSnd    bin
  128. MPEG Movie              .mpg    1       0       mMPG    MPEG
  129. MPEG Movie              .mpeg   1       0       mMPG    MPEG
  130. QuickTime Movie         .mov    1       0       TVOD    MooV
  131. QuickTime Movie         .moov   1       0       TVOD    MooV
  132. QuickTime Movie         .qt     1       0       TVOD    MooV
  133. PC DL Movie             .DL     1       0       BGDL    DL
  134. PC FLI Movie            .FLI    1       0       .FLI    pFLI
  135.  
  136.  
  137.  
  138.